ContactDetails Class
Structure which holds information about a contact between two objects
Constructor
ContactDetails
()
Item Index
Properties
contact_normal
Vec3
normal vector, in world coordinates, of the contact
contact_point
Vec3
point of contact in world coordinates
contact_point_in_a
Vec3
contact point in local frame of object_a
contact_point_in_b
Vec3
contact point in local frame of object_b
friction
amount of friction between the objects in contact
object_a
Goblin.RigidBody
first body in the contact
object_b
Goblin.RigidBody
second body in the contact
penetration_depth
Number
how far the objects are penetrated at the point of contact
restitution
Number
amount of restitution between the objects in contact